﻿using System;
using System.Collections.Specialized;
using System.IO;

namespace MinorAspNetCore.Server
{
    public interface IMinorHttpRequestFeature
    {
        Uri Url { get; }

        NameValueCollection Headers { get; }

        Stream Body { get; }
    }

    public interface IMinorHttpResponseFeature
    {
        int StatusCode { get; set; }

        NameValueCollection Headers { get; }

        Stream Body { get; }
    }
}